#!/usr/bin/env python
# -*- coding:UTF-8 -*-
"""
proxy.py
代理模式代码原型
"""

class Target(object):
    def show(self): return self.__class__, self.show.__name__

class Proxy(object):
    def __init__(self): self.target = Target()
    def show(self): return self.target.show()
